 <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'adminLogin.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    

  </head>
  
  <body>
  	<h4>Login</h4>
    	<form action="servlet/AdminServlet"  method="post">
    	<input type="hidden" name="method" value="login" >
    		<fieldset>
    			<legend>管理员登陆</legend>
    			<table>
    				<tr>
    					<td>Name :</td>
    					<td><input type="text" name="name"/></td>
    				</tr>
    				<tr>
    					<td>Pwd : </td>
    					<td><input type="password" name="pwd"/><br/></td>
    				</tr>
    			</table>
    		
    			<input type="submit" value="Login">
    		</fieldset>
    	</form>
   
  </body>
</html>
